package example.service;

import example.common.Result;
import example.dto.SecondmentInfoDTO;
import example.dto.StateDTO;
import example.dto.TipDTO;
import example.entity.SecondmentContentInfo;

public interface ISecondmentContentInfoService {
    void save(SecondmentContentInfo secondmentExcelInfo);

    int checkSecondmentContentExists(SecondmentContentInfo secondmentExcelInfo);

    Result listSecondmentInformation(SecondmentInfoDTO secondmentInfoDTO);

    Result deleteSecondmentInformation(Long id);

    Result getExcelNames(Long secondmentId);

    Result changeState(StateDTO stateDTO);

    Result changeTip(TipDTO tipDTO);

    Result cancelConfirm(Long id);

    String calculateDateRange(String startDateStr, String monthsToAddStr);
}
